/**
 *Copyright (c) 2024 watereyes
 * safetymanagement is licensed under Mulan PubL v2.
 * You can use this software according to the terms and conditions of the Mulan
 * PubL v2.
 * You may obtain a copy of Mulan PubL v2 at:
 *          http://license.coscl.org.cn/MulanPubL-2.0
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PubL v2 for more details.
 */
package com.koron.report.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "本地危险源风险统计分析", description = "本地危险源风险统计分析实体类")
public class LocalHazarsSourceAnalysis {
    @ApiModelProperty(value = "部门code", name = "departmentCode", required = true)
    private String departmentCode;
    @ApiModelProperty(value = "部门名称", name = "getDepartmentName", required = true)
    private String departmentName;
    @ApiModelProperty(value = "是否存在子部门，0不存在，1存在", name = "departmentCode", required = false)
    private Integer existChild=1;
    @ApiModelProperty(value = "低风险", name = "lowRisk", required = false)
    private Integer lowRisk=0;
    @ApiModelProperty(value = "一般风险", name = "normalRisk", required = false)
    private Integer normalRisk=0;
    @ApiModelProperty(value = "较大风险", name = "greaterRisk", required = false)
    private Integer greaterRisk=0;
    @ApiModelProperty(value = "重大风险", name = "majorRisk", required = false)
    private Integer majorRisk=0;
    @ApiModelProperty(value = "重大危险源", name = "majorHazardSource", required = false)
    private Integer majorHazardSource=0;

    public LocalHazarsSourceAnalysis(){
        this.lowRisk=0;
        this.existChild=1;
        this.normalRisk=0;
        this.greaterRisk=0;
        this.majorRisk=0;
        this.majorHazardSource=0;
    }

    public String getDepartmentCode() {
        return departmentCode;
    }

    public void setDepartmentCode(String departmentCode) {
        this.departmentCode = departmentCode;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public Integer getExistChild() {
        return existChild;
    }

    public void setExistChild(Integer existChild) {
        this.existChild = existChild;
    }

    public Integer getLowRisk() {
        return lowRisk;
    }

    public void setLowRisk(Integer lowRisk) {
        this.lowRisk = lowRisk;
    }

    public Integer getNormalRisk() {
        return normalRisk;
    }

    public void setNormalRisk(Integer normalRisk) {
        this.normalRisk = normalRisk;
    }

    public Integer getGreaterRisk() {
        return greaterRisk;
    }

    public void setGreaterRisk(Integer greaterRisk) {
        this.greaterRisk = greaterRisk;
    }

    public Integer getMajorRisk() {
        return majorRisk;
    }

    public void setMajorRisk(Integer majorRisk) {
        this.majorRisk = majorRisk;
    }

    public Integer getMajorHazardSource() {
        return majorHazardSource;
    }

    public void setMajorHazardSource(Integer majorHazardSource) {
        this.majorHazardSource = majorHazardSource;
    }

    @Override
    public String toString() {
        return "LocalHazarsSourceAnalysis{" +
                "departmentCode='" + departmentCode + '\'' +
                ", getDepartmentName='" + departmentName + '\'' +
                ", lowRisk=" + lowRisk +
                ", normalRisk=" + normalRisk +
                ", greaterRisk=" + greaterRisk +
                ", majorRisk=" + majorRisk +
                ", majorHazardSource=" + majorHazardSource +
                '}';
    }
}
